<template>
  <!-- 顶部 -->
  <div class="top">
    <!-- <van-nav-bar
      title="活动管理"
      left-text="返回"
      right-text="首页"
      left-arrow
      @click-left="onClickLeft"
      @click-right="onClickRight"
    /> -->
    <van-nav-bar
      border
      z-index="101"
      fixed
      title="活动管理"
      left-text="返回"
      right-text="首页"
      left-arrow
      @click-left="onClickLeft"
      @click-right="onClickRight"
    />
  </div>
</template>

<script>
// import { Toast } from "vant";
export default {
  methods: {
    //头部方法
    onClickLeft() {
      this.$router.go(-1);
    },
    onClickRight() {
      this.$router.push("/");
    },
  },
};
</script>

<style lang="scss" scoped>
.top{
  // display: flex;
  // align-items: center;
  // height: 100%;
  margin-bottom: 50px;
}
</style>